//
//  MealViewController.h
//  Restaurant
//
//  Created by wanghuan on 15/4/22.
//  Copyright (c) 2015年 wanghuan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SavaMerchantId.h"

#import "MealTableViewCell.h"
#import "MealTableModel.h"
#import "MealDetailViewController.h"
#import "ShopTableView.h"
#import "OrdersViewController.h"
#import "WHAFHTTPRequest.h"
#import "SDWebImage/UIImageView+WebCache.h"
#import "ScanViewController.h"

typedef void (^scanLoopDrawLine)(void);
@interface MealViewController : UIViewController <UITableViewDataSource,UITableViewDelegate> {

    UITableView *_MyTableView;

    //大tableView的数据
    NSMutableArray *_tableArr;
    //小tableView的数据
    NSMutableArray *_shopArr;
    
    //存储客户选择每种菜的份数
    NSMutableArray *_numberArr;
    
    ShopTableView *_shopTableView;
    
    //请求数据
    WHAFHTTPRequest *_request;
    
}

@property (weak, nonatomic) IBOutlet UIView *bottomView;

@property (weak, nonatomic) IBOutlet UIButton *certainBtn;

@property (strong, nonatomic) scanLoopDrawLine loopDrawLine;
//商家id
@property (strong, nonatomic) NSString *merchantId;

- (IBAction)backClick:(UIButton *)sender;

//@property (strong, nonatomic) NSMutableArray *shopArr;

@property (weak, nonatomic) IBOutlet UIButton *shopBtn;

- (IBAction)shopClick:(UIButton *)sender;

@property (weak, nonatomic) IBOutlet UILabel *priceLabel;

- (IBAction)certainClick:(UIButton *)sender;
@end
